<!doctype html>
<html>
<head>
<meta charset="utf-8" />
<title>Default Examples</title>
<style>
    form {
        margin: 0;
    }
    textarea {
        display: block;
    }
	.ke-icon-hello {
        background-image: url(../skins/default/default.gif);
        background-position: 0px -672px;
        width: 16px;
        height: 16px;
}

</style>

</head>
<body>
<script charset="utf-8" src="kindeditor-min.js"></script>
<script charset="utf-8" src="lang/zh_CN.js"></script>
<script>
/*
    var editor;
	// KindEditor.lang({
	//		hello : '汽车出售模版1'
	//});
    KindEditor.ready(function(K) {
        editor = K.create('textarea[name="content"]', {
            allowFileManager : false,
            uploadJson : 'http://bbs.sc2car.com/?c=upload&a=kindeditor',
			//items:['hello']
            //uploadJson : 'http://bbs.sc2car.com/editor/kindeditor-4.1.3/php/upload_json.php',
            
        });
    });
	*/
	
var RapidRelease;
KindEditor.ready(function(K) {
		RapidRelease = K.create('textarea[name="content"]', {
			uploadJson : 'http://bbs.sc2car.com/?c=upload&a=kindeditor',
			minWidth : 650,
			minHeight : 180,
			width:1050,
			height:200,
			colorTable : [
				['#E53333', '#E56600', '#FF9900', '#64451D', '#DFC5A4', '#FFE500'],
				['#009900', '#006600', '#99BB00', '#B8D100', '#60D978', '#00D5FF'],
				['#337FE5', '#003399', '#4C33E5', '#9933E5', '#CC33E5', '#EE33EE'],
				['#cccccc', '#999999', '#666666', '#444444', '#222222', '#000000']
			],
			//items : ['bold', 'forecolor','image', 'emoticons', 'link', 'unlink']
		});
});
</script>
<form method="post" action="/a.php">
    <textarea name="content" style="width:800px;height:400px;visibility:hidden;">编辑器测试</textarea>
	<input type="submit">
</form>
</body>
</html>
